home *** CD-ROM | disk | FTP | other *** search
- Path: in2.uu.net!van-bc!uniserve!usenet
- From: nowher@anyplace.com (Chris)
- Newsgroups: comp.lang.c++
- Subject: Re: Help!! I'm a stuck newbie - input problem
- Date: 1 Feb 1996 03:15:31 GMT
- Organization: UNIServe Online
- Distribution: world
- Message-ID: <4epb8j$4bq@atlas.uniserve.com>
- References: <4eh3vl$g8i@atlas.uniserve.com> <4eipbe$jnd@nic.cc.ruu.nl> <4ek25k$qta@atlas.uniserve.com> <4elkqv$3f2q@yuma.ACNS.ColoState.EDU>
- NNTP-Posting-Host: van0111.tvs.net
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.99.2
-
- I am working with a PC system and Borland C++ 3.0 for Windoze.
- Unfortunately, I don't seem to have the <constrea.h> header you speak of.
- (If you have could you e-mail it to me??)
-
- Thanks for the assignment hints, I can now use PartNum[].
-
-
-
- [snip]
- >> My exact problem is that I don't wan't the cursor to over-run
- >> the width of the field:
- >
- >> Part Number:( )
- >> Length:( )
- >> Width:( )
- >> .
- >> .
- >> .
- >
- >
- > Ah... "This different question, grasshopper." The problem is
- >then, "How do I get control of the cursor?"
- >
- > Two answers, one of them platform-dependent. If you're working
- >with Borland on a PC, check out their "constrea.h" library - it's got
- >exactly what you're looking for. If you're not on a PC, there may be a
- >library you can use for screen control (Xwindows or something)?
- >
- > Otherwise, you may have to write your own input
- >routine. Depending on what you do, this may or may not be platform
- >specific.
- >
- >> The bracket on the right should be the limit of the input. I would
- like
- >> to beep the user when/if the user reaches the right side of the field.
- >> I have tried the getch() function in conjunction with wherex(), but
- this
- >> failed.
-
- [snip]
-
- >Dave Steffen No, his mind is not for rent
- >Dept. of Physics To any God or Government
- >Colorado State University Always hopeful, yet discontent
- >steffend@lamar.colostate edu He knows changes aren't permanent-
- > But change is...
- >"Speak softly...
- >... and carry a black belt!" -Neal Peart / RUSH
- >-----------------------------------------------------------------------
-
-